package com.sixth.dao;

import com.sixth.entity.RoleUserKey;
import org.apache.ibatis.annotations.Param;

public interface sRoleUserDao {
    int deleteByPrimaryKey(RoleUserKey key);

    int insert(RoleUserKey record);

    int insertSelective(RoleUserKey record);

    //角色分配
    int uprole(@Param("roleid") Integer roleid, @Param("userid") Integer userid);
}